package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Person;
import com.example.demo.utils.Result;
import org.springframework.stereotype.Service;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cj
 * @since 2023-04-19
 */
@Service
public interface PersonService extends IService<Person> {

    Result add(Person person) throws Exception;

    Result update(String params) throws Exception;

    Result login(Person person) throws Exception;

    Result getFromChangJiang(String params) throws Exception;

    Result translate(String params) throws Exception;

}
